Skip to content

feat: Add possibility to specify custom, global Network Policies#952

Merged
ppawlowski merged 6 commits into
mainfrom
feat-general-network-policy
Jun 26, 2026
Merged

feat: Add possibility to specify custom, global Network Policies#952
ppawlowski merged 6 commits into
mainfrom
feat-general-network-policy

Conversation

@ppawlowski

Copy link
Copy Markdown
Contributor

Description

This pull request adds a top-level networkPolicies value for defining arbitrary Kubernetes NetworkPolicy resources through the chart, giving cluster operators control over ingress/egress traffic to deployed components. It is a map keyed by policy name. Each entry renders one NetworkPolicy: the chart owns apiVersion, kind, metadata.name, labels and namespace; the spec renders verbatim. Helm templating works in keys and values, so policies can target any namespace and any pods.

It also deprecates forge.projectNetworkPolicy in favour of the new value. The old block still works unchanged; a deprecation notice via NOTES.txt, the README, and the values schema guides migration. No removal scheduled.

Related Issue(s)

Closes #946

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

@ppawlowski ppawlowski requested a review from hardillb June 24, 2026 15:05
@ppawlowski ppawlowski merged commit fdf4abc into main Jun 26, 2026
7 checks passed
@ppawlowski ppawlowski deleted the feat-general-network-policy branch June 26, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

As a cluster operator I would like to specify custom Network Policies

2 participants